package online.longzipeng.back.mapper;

import online.longzipeng.back.pojo.param.TeamQueryParam;
import online.longzipeng.back.pojo.vo.TeamVo;
import org.apache.ibatis.annotations.Mapper;
import online.longzipeng.back.pojo.entity.Team;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * @author lzp
 */
@Mapper
public interface TeamMapper extends BaseMapper<Team>  {

    /**
     * 按查询条件获取团队列表
     */
    List<TeamVo> list(@Param("param") TeamQueryParam param);

    /**
     * 查看团队详情信息
     * @param id
     */
    TeamVo detail(@Param("id") Long id);

}
